package cn.itsource.hrm.service;

import cn.itsource.hrm.controller.vo.CourseVo;
import cn.itsource.hrm.domain.Course;
import cn.itsource.hrm.domain.CourseType;
import cn.itsource.hrm.query.CourseQuery;
import cn.itsource.util.PageList;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenyuqi
 * @since 2020-05-24
 */
public interface ICourseService extends IService<Course> {
    /**
     * 分页高级查询
     * @param query
     * @return
     */
    PageList<Course> queryPage(CourseQuery query);

    void updateById(CourseVo courseVo);

    void save(CourseVo courseVo);

    void online(List<Long> ids);

    void offline(List<Long> ids);

    //void staticHomePage() throws Exception;
}
